import request from '@/router/axios';

/**
 * 通过id获取演示
 * @param {*} data 
 * @returns 
 */
export const get = (data) => request({
  url: '/sys/demo/get',
  method: 'post',
  data
});
/**
 * 分页查询演示
 * @param {*} data 
 * @returns 
 */
 export const list = (data) => request({
  url: '/sys/demo/list',
  method: 'post',
  data
});
/**
 * 删除演示
 * @param {*} data 
 * @returns 
 */
 export const remove = (data) => request({
  url: '/sys/demo/remove',
  method: 'post',
  data
});
/**
 * 添加演示
 * @param {*} data 
 * @returns 
 */
 export const save = (data) => request({
  url: '/sys/demo/save',
  method: 'post',
  data
});
/**
 * 修改演示
 * @param {*} data 
 * @returns 
 */
 export const update = (data) => request({
  url: '/sys/demo/update',
  method: 'post',
  data
});